Skip to content

PR: Catch NotJSONError in wait_and_check_if_empty()#437

Merged
jitseniesen merged 1 commit intospyder-ide:masterfrom
jitseniesen:not-json-error
Jul 22, 2023
Merged

PR: Catch NotJSONError in wait_and_check_if_empty()#437
jitseniesen merged 1 commit intospyder-ide:masterfrom
jitseniesen:not-json-error

Conversation

@jitseniesen
Copy link
Member

This appears to be a rare error and its cause is not clear. The working assumption is that this exception may be raised if Spyder tries to read the notebook file before it is completely saved, so we wait a while and try again.

Fixes #432

This appears to be a rare error and its cause is not clear.
The working assumption is that this exception may be raised
if Spyder tries to read the notebook file before it is
completely saved, so we wait a while and try again.
@jitseniesen jitseniesen added this to the v0.5 milestone Jul 22, 2023
@jitseniesen jitseniesen self-assigned this Jul 22, 2023
@jitseniesen jitseniesen merged commit a4c59d8 into spyder-ide:master Jul 22, 2023
@jitseniesen jitseniesen deleted the not-json-error branch July 22, 2023 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NotJSONError raised in wait_and_check_if_empty()

1 participant